package com.cloudkinto.service.platform;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloudkinto.entity.PlatformOrderDo;
import com.cloudkinto.service.consumer.vo.makeshop.MakeShopMarkShipConsumerReq;
import com.cloudkinto.service.consumer.vo.makeshop.MakeShopMarkStatusConsumerReq;
import com.cloudkinto.service.consumer.vo.makeshop.MakeShopOrderUpdateConsumerReq;
import com.cloudkinto.service.consumer.vo.makeshop.MakeshopConsumerReq;
import com.cloudkinto.service.platform.vo.store.StoreMakeshopAddReq;


public interface PlatformOrderMakeshopSyncService extends IService<PlatformOrderDo> {

    @Deprecated
    String authorizeNow(StoreMakeshopAddReq req, Long userId, Long companyId);

    @Deprecated
    void getMakeshopAuthorizeMsg(String code, String scope, String state, String error, String error_description, Long userId, Long companyId);

    void platOrderMakeShopSync();

    String updateMakeShopOrders(MakeshopConsumerReq req);

    void consumerUpdate(MakeShopOrderUpdateConsumerReq req);

    void markShip(MakeShopMarkShipConsumerReq req) throws Exception;

    void markOrderStatus(MakeShopMarkStatusConsumerReq req) throws Exception;

    void markFinish();
}
